﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="operatoradd.aspx.cs" Inherits="Web.manager.operatoradd" %>
<%@ Register Src="~/controls/message.ascx" TagName="message" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GVPageManager.ascx" TagPrefix="ui" TagName="gv" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div class="content-box">
            <!-- Start Content Box -->
            <div class="content-box-header">
                <h3>
                    管理员维护</h3>
                <ul class="content-box-tabs">
                    <%if (!string.IsNullOrEmpty(Request["groupid"]))
                      { %>
                    <li><a id="a1" href="PhoneBookManager.aspx?groupid=<%=Request["groupid"] %>">通讯录管理</a></li>
                    <%} %>
                    <li><a id="a_tab1" href="operator.aspx?groupid=<%=Request["groupid"] %>">管理员维护</a></li>
                    <li><a id="a_tab2" href="#tab2" class="default-tab">添加管理员</a></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="content-box-content">
                <div class="tab-content default-tab" id="tab2">
                <div class="form">
                        <fieldset>
                            <uc:message ID="u_message" Visible="false" runat="server" />
                            <p>
                                <label>
                                    请填写用户名</label>
                                <asp:TextBox ID="txb_username" CssClass="text-input small-input" runat="server"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    请填写昵称</label>
                                <asp:TextBox ID="txb_nickname" CssClass="text-input small-input" runat="server"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    请选择一个角色</label>
                                <asp:DropDownList ID="ddl_roleid" runat="server" CssClass="small-input">
                                </asp:DropDownList>
                            </p>
                            <p>
                                <label>
                                    请填写密码</label>
                                <asp:TextBox ID="txb_userpwd" CssClass="text-input small-input" runat="server" TextMode="Password"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    请再次填写密码</label>
                                <asp:TextBox ID="txb_userpwd2" CssClass="text-input small-input" runat="server" TextMode="Password"></asp:TextBox>
                                <br /><small>与第一次输入的密钥一致</small>
                            </p>
                            <p>
                                <asp:Button ID="btn_save" CssClass="button" runat="server" Text="提交" OnClick="btn_save_Click" />
                                </p>
                        </fieldset>
                        <div class="clear">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</asp:Content>
